<?php
/* Smarty version 3.1.30, created on 2017-04-20 23:49:37
  from "D:\phpStudy\WWW\lyb\app\home\view\index\update.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_58f9b991e14a00_19549253',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '2d9f90281ea0fdff486d5a49fb00f1b888bf5857' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\lyb\\app\\home\\view\\index\\update.html',
      1 => 1492760970,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:public/header.php' => 1,
  ),
),false)) {
function content_58f9b991e14a00_19549253 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:public/header.php", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

 <div class="container">
	    	<form class="form-horizontal" method="post" action="index.php?m=home&c=index&a=up">
	    	  <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['res']->value[0]['id'];?>
">
	    	  <div class="form-group">
	    	    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
	    	    <div class="col-sm-5">
	    	      <input type="text" name="title" class="form-control" id="inputEmail3" placeholder="title" value="<?php echo $_smarty_tpl->tpl_vars['res']->value[0]['title'];?>
">
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <label for="inputPassword3" class="col-sm-2 control-label">内容</label>
	    	    <div class="col-sm-5">
	    	      <textarea class="form-control" rows="3" name="content"><?php echo $_smarty_tpl->tpl_vars['res']->value[0]['content'];?>
</textarea>
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <label for="inputPassword3" class="col-sm-2 control-label">作者</label>
	    	    <div class="col-sm-5">
	    	      <input type="text" class="form-control" id="inputPassword3" placeholder="author" name="zuozhe" value="<?php echo $_smarty_tpl->tpl_vars['res']->value[0]['zuozhe'];?>
"	>
	    	    </div>
	    	  </div>
	    	  <div class="form-group">
	    	    <div class="col-sm-offset-2 col-sm-10">
	    	      <button type="submit" class="btn btn-default">提交</button>
	    	    </div>
	    	  </div>
	    	</form>
	    </div>
}
</body>
</html>
<?php echo '<?php 
';?>mysql_close();
 <?php echo '?>';
}
}
